package com.woniu.entity.Impl;

import com.woniu.entity.Person;

import java.util.Set;

public class Chinese implements Person {
    private String name;
    private int age;
    private Wife wife1;
    private Set<Wife> wifes;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public Wife getWife1() {
        return wife1;
    }

    public void setWife1(Wife wife1) {
        this.wife1 = wife1;
    }

    public Set<Wife> getWifes() {
        return wifes;
    }

    public void setWifes(Set<Wife> wifes) {
        this.wifes = wifes;
    }

    public Chinese(String name, String age, String wife) {
        System.out.println("构造启动");
    }

    public Chinese() {

    }

    @Override
    public void eat() {
        System.out.println("china");
    }
}
